import { createApp } from 'vue'
import App from './App.vue'
import { Button, Icon, Tabbar, TabbarItem, NavBar } from 'vant';
import { Col, Row } from 'vant';
import 'vant/lib/index.css';
import { createMemoryHistory, createRouter } from 'vue-router'
import routes from './config/router'

const app = createApp(App)
app.use(Button);
app.use(Col);
app.use(Row);
app.use(NavBar);
app.use(Icon)
app.use(Tabbar);
app.use(TabbarItem);



const router = createRouter({
    history: createMemoryHistory(),
    routes,
})
app.use(router)
app.mount('#app')





